package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 工单表对象 work_form
 * 
 * @author ruoyi
 * @date 2020-04-20
 */
public class WorkForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 持有者 */
    @Excel(name = "持有者")
    private String holdUser;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createTime;

    /** 工单状态 */
    @Excel(name = "工单状态")
    private String workStatus;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String checkStatus;

    /** 退回状态 */
    @Excel(name = "退回状态")
    private String returnStatus;

    /** 转移状态 */
    @Excel(name = "转移状态")
    private String transferStatus;

    /** 完成描述 */
    @Excel(name = "完成描述")
    private String completeDescription;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setHoldUser(String holdUser) 
    {
        this.holdUser = holdUser;
    }

    public String getHoldUser() 
    {
        return holdUser;
    }
    public void setWorkStatus(String workStatus) 
    {
        this.workStatus = workStatus;
    }

    public String getWorkStatus() 
    {
        return workStatus;
    }
    public void setCheckStatus(String checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public String getCheckStatus() 
    {
        return checkStatus;
    }
    public void setReturnStatus(String returnStatus) 
    {
        this.returnStatus = returnStatus;
    }

    public String getReturnStatus() 
    {
        return returnStatus;
    }
    public void setTransferStatus(String transferStatus) 
    {
        this.transferStatus = transferStatus;
    }

    public String getTransferStatus() 
    {
        return transferStatus;
    }
    public void setCompleteDescription(String completeDescription) 
    {
        this.completeDescription = completeDescription;
    }

    public String getCompleteDescription() 
    {
        return completeDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("holdUser", getHoldUser())
            .append("workStatus", getWorkStatus())
            .append("checkStatus", getCheckStatus())
            .append("returnStatus", getReturnStatus())
            .append("transferStatus", getTransferStatus())
            .append("completeDescription", getCompleteDescription())
            .toString();
    }
}
